
.DEFAULT: video_sdram_test.si
		silice-make.py -s video_sdram_test.si -b $@ -p basic,vga,sdram -o BUILD_$(subst :,_,$@) $(ARGS)

# For the ulx3s we use the shell script (-t shell) that has additional options to yosys (scratchpad for abc9)
ulx3s: video_sdram_test.si
		silice-make.py -s video_sdram_test.si -b $@ -p basic,hdmi,sdram -o BUILD_$(subst :,_,$@) -t shell $(ARGS)

icarus: video_sdram_test.si
		silice-make.py -s video_sdram_test.si -b $@ -p basic,vga -o BUILD_$(subst :,_,$@) $(ARGS)

clean:
	rm -rf BUILD_*
